<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>

<html:html lang="ja">
<head>
  <meta http-equiv="Content-Language" content="ja">
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <meta name="content-language" content="ja">
  <link rel="stylesheet" href="/IPManagerPrototype/pages/admin/style/style.css" type="text/css">
  <title>ユーザ管理</title>
</head>

<body>
<div id="mainbox">
<div id="mainin">

<table style="text-align: left; height: 128px; width: 720px;" border="1" cellpadding="2" cellspacing="2">

  <tbody>

    <tr>
      <td style="vertical-align: top; width: 147px; height: 29px; text-align: center;">ユーザID<br>
      </td>
      <td style="vertical-align: top; height: 29px; width: 90px; text-align: center;">ユーザ名<br>
      </td>
      <td style="vertical-align: top; height: 29px; width: 138px; text-align: center;">メールアドレス<br>
      </td>
      <td style="vertical-align: top; width: 220px; text-align: center;">権限<br>
      </td>
      <td style="vertical-align: top; width: 147px; height: 29px; text-align: center;">詳細<br>
      </td>
    </tr>

    <logic:iterate id="loop" name="userList" property="allUser">
    <html:form action="/UserDetailAction">
    <tr>
      <td style="vertical-align: top; width: 60px; height: 29px; text-align: center;">
        <bean:write name="loop" property="userId" /><br>
      </td>
      <td style="vertical-align: top; width: 165px; height: 29px; text-align: center;">
        <bean:write name="loop" property="userName" /><br>
      </td>
      <td style="vertical-align: top; height: 29px; width: 100px; text-align: center;">
        <bean:write name="loop" property="mail" /><br>
      </td>
      <td style="vertical-align: top; height: 29px; width: 152px; text-align: center;">
        <bean:write name="loop" property="authString" /><br>
      </td>
      <td style="vertical-align: top; width: 60px; height: 29px; text-align: center;">
        <html:submit property="loopButtun" indexed="true" value="詳細"/><br>
      </td>
    </tr>
    </html:form>
    </logic:iterate>      
      
  </tbody>
</table><br>

<div id="leftbox">
<div id="leftnavi">
<ul>
  <li><a href="/IPManagerPrototype/pages/admin/top.jsp">トップ</a></li>
  <li><a href="/IPManagerPrototype/pages/admin/apply_status.jsp">申請状況</a></li>
  <li><html:link action="/UserListAction">ユーザ管理</html:link></li>
</ul>
</div>
</div>

</body>
</html:html>
